import request from '../utils/request'

export const GetCheckList = (params) => {
    return request('/api/queryCheckList', {
        params
    })
}

//获取作业类型
export const GetCheckListDictCode = () => {
    return request('/api/queryCheckListDictCode')
}

//启用||停用检查表
export const UpdateCheckListStatus  = (params) => {
    return request('/api/updateCheckList', {
        method: 'put',
        params
    })
}

//修改检查表
export const UpdateCheckList = (data) => {
    return request('/api/updateCheckListDictCode', {
        method: 'post',
        data
    })
}